{extend name="Public:base"/}

{block name="main"}
<div class="box-info">
    <div class="table-toolbar">
        <a class="btn btn-primary" href="{:U('Posid/add')}">添加</a>
    </div>

    <table class="table table-bordered table-hover">
        <thead>
        <tr>
            <th width="40">ID</th>
            <th align="left">名称</th>
            <th class="table-cell-2 center">操作管理</th>
        </tr>
        </thead>
        <tbody>
        {volist name="list" id="vo" key="k"}
        <tr>
            <td align="center">{$vo['id']}</td>
            <td>{$vo['name']}</td>
            <td class="table-cell-2 center">
                <a href="{:U('Posid/edit',array('id'=>$vo['id']))}">编辑</a> |
                <a href="javascript:confirm_delete('{:U('Posid/delete',array('id'=>$vo['id']))}')">删除</a>
            </td>
        </tr>
        {/volist}
        </tbody>
    </table>
</div>
{/block}